/**
 * Created by black on 2017/4/13.
 */
$(function () {
    var productIntroduceFlag = false;
    $("#product-introduce").click(function () {
        if(productIntroduceFlag == false){
            $("#product-introduce").find("i").removeClass("fa-angle-down")
            $("#product-introduce").find("i").addClass("fa-angle-up")
            $("#product-introduce-drop-down-box").show();
            productIntroduceFlag = true;

        }else{
            $("#product-introduce").find("i").removeClass("fa-angle-up")
            $("#product-introduce").find("i").addClass("fa-angle-down")
            $("#product-introduce-drop-down-box").hide();
            productIntroduceFlag = false;
        }
    });

    var enjoyServiceFlag = false;
    $("#enjoy-service").click(function () {
        if(enjoyServiceFlag == false){
            $("#enjoy-service").find("i").removeClass("fa-angle-down")
            $("#enjoy-service").find("i").addClass("fa-angle-up")
            $("#enjoy-service-drop-down-box").show();
            enjoyServiceFlag = true;

        }else{
            $("#enjoy-service").find("i").removeClass("fa-angle-up")
            $("#enjoy-service").find("i").addClass("fa-angle-down")
            $("#enjoy-service-drop-down-box").hide();
            enjoyServiceFlag = false;
        }
    });

});